﻿package com.eitb.programas.ticker.properties{
	import flash.display.*;

	import com.eitb.bitmaps.*;

	public class IconoFactory {
		public static const PAJARO:String="pajaro";
		public static const EITB:String="eitb";
		public static function getIcono(formato:String):Bitmap {
			switch (formato) {
				case IconoFactory.PAJARO :
					return new Bitmap(new Pajaro());
				case IconoFactory.EITB :
					return new Bitmap(new EitbCom());
				default :
					return new Bitmap(new Pajaro());
			}
		}
	}
}